HDFS-16732. [SBN READ] Avoid get location from observer when the block report is delayed#4756
Merged
xkrogen merged 4 commits intoapache:trunkfrom Aug 25, 2022
Merged
Conversation
…k report is delayed.
|
💔 -1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
xkrogen
reviewed
Aug 19, 2022
Contributor
xkrogen
left a comment
There was a problem hiding this comment.
Agreed that the same logic from HDFS-12943 should be extended to getFileInfo/getListing. Thanks for putting up this PR!
For the test, can we just add new tests similar to TestObserverNode.testObserverNodeBlockMissingRetry? I am wondering if the new TestObserverNodeWhenReportDelay is overkill for this.
...s-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
Outdated
Show resolved
Hide resolved
|
🎊 +1 overall
This message was automatically generated. |
xkrogen
reviewed
Aug 25, 2022
...src/test/java/org/apache/hadoop/hdfs/server/namenode/ha/TestObserverNodeWhenReportDelay.java
Outdated
Show resolved
Hide resolved
|
🎊 +1 overall
This message was automatically generated. |
Contributor
|
New test is very clean :) Many thanks for the contribution @zhengchenyu ! I've merged this to trunk and branch-3.3. |
HarshitGupta11
pushed a commit
to HarshitGupta11/hadoop
that referenced
this pull request
Nov 28, 2022
…k report is delayed (apache#4756) Signed-off-by: Erik Krogen <xkrogen@apache.org>
LiuGuH
pushed a commit
to LiuGuH/hadoop
that referenced
this pull request
Mar 29, 2024
…k report is delayed (apache#4756) Signed-off-by: Erik Krogen <xkrogen@apache.org> (cherry picked from commit 231a446)
LiuGuH
pushed a commit
to LiuGuH/hadoop
that referenced
this pull request
Jul 4, 2024
…k report is delayed (apache#4756) Signed-off-by: Erik Krogen <xkrogen@apache.org> (cherry picked from commit 231a446)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://issues.apache.org/jira/browse/HDFS-16732